
<include file="Public:header"/><body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
	<div class="nav">
		<ul class="cc">
			<li><a href="/Admins/News/special">烘焙专题</a></li>
			<li class="current"><a href="/Admins/News/spladd">添加专题</a></li>
		</ul>
	</div>
	<form method="post" class="J_ajaxForm" enctype="multipart/form-data" action="{:U('News/spladd',array('action'=>'edit'))}" >
	<input type="hidden" name="id" value="{$data.id}" >
	<div class="J_tabs_contents">
		<div class="h_a">信息添加(带红色框为必填项)</div>
		<div class="table_full">
			<table width="100%" class="table_form">
				<tr>
					<th width="100">专题标题：</th>
					<td><input type="text" name="title" class="input require" size="50" value="{$data.title}"></td>
				</tr>
				<tr>
					<th>外部链接：</th>
					<td><input type="text" name="linkurl" class="input" size="50"  value="{$data.linkurl}"> 必须带http://</td>
				</tr>
				<tr>
					<th>信息图片：</th>
					<td><Form function="images" parameter="image,image,$data['image'],news"/><span class="gray"> 双击可以查看图片！(219x214)</span></td>
				</tr>
				<tr>
					<th>专题状态：</th>
					<td><input type="radio" name="style" value="0" {$data['style']==0?'checked':''} /> 关闭 &nbsp;&nbsp; <input type="radio" name="style" value="1"  {$data['style']==1?'checked':''}> 开启</td>
				</tr>
				
				<tr>
					<th>排序：</th>
					<td><input type="text" name="sort" class="input" size="10" value="{$data.sort}" /></td>
				</tr>
			
			</table>
		</div>
		<div class="btn_wrap_pd">
			<button class="btn btn_submit mr10 J_ajax_submit_btn" type="submit">提交</button>
		</div>
	</div>
	
	</form>

</div>
<script type="text/javascript" src="__JS__/common.js"></script>
<script type="text/javascript" src="__JS__/content_addtop.js"></script>

</body>
</html>